/**
 * This code is released under lgpl v3 license.
 * All rights reserved.
*/

package flash.display;

import bridge.FABridge;

/**
 *
 * @author yuan yunchang    dukerr@gmail.com
 */
public class DisplayObjectContainer extends DisplayObject{
    static String className = "flash.display.DisplayObjectContainer";

    protected DisplayObjectContainer() {
    }
    public static  final DisplayObjectContainer
            createDisplayObjectContainer(String bridgeName){
        return (DisplayObjectContainer)(FABridge.get().getInstance(bridgeName).create(className));
    }

    public native final void  addChild(DisplayObject child)/*-{
    this.addChild(child)
    }-*/;
    public native final void  removeChild(DisplayObject child)/*-{
    this.removeChild(child)
    }-*/;
}
